//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02B
TN_Widget.CreateTable([['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Wednesday','5/8/2024','8:00 PM','6134100','Uncle-Vanya-5-8-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Thursday','5/9/2024','7:00 PM','6134124','Uncle-Vanya-5-9-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Friday','5/10/2024','8:00 PM','6134101','Uncle-Vanya-5-10-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Saturday','5/11/2024','2:00 PM','6134117','Uncle-Vanya-5-11-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Saturday','5/11/2024','8:00 PM','6134102','Uncle-Vanya-5-11-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Sunday','5/12/2024','3:00 PM','6134112','Uncle-Vanya-5-12-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Tuesday','5/14/2024','7:00 PM','6134126','Uncle-Vanya-5-14-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Wednesday','5/15/2024','2:00 PM','6134118','Uncle-Vanya-5-15-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Wednesday','5/15/2024','8:00 PM','6134103','Uncle-Vanya-5-15-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Thursday','5/16/2024','7:00 PM','6134125','Uncle-Vanya-5-16-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Friday','5/17/2024','8:00 PM','6134104','Uncle-Vanya-5-17-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Saturday','5/18/2024','2:00 PM','6134119','Uncle-Vanya-5-18-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Saturday','5/18/2024','8:00 PM','6134105','Uncle-Vanya-5-18-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Sunday','5/19/2024','3:00 PM','6134113','Uncle-Vanya-5-19-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Tuesday','5/21/2024','7:00 PM','6134127','Uncle-Vanya-5-21-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Wednesday','5/22/2024','2:00 PM','6134121','Uncle-Vanya-5-22-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Wednesday','5/22/2024','8:00 PM','6134106','Uncle-Vanya-5-22-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Thursday','5/23/2024','7:00 PM','6134128','Uncle-Vanya-5-23-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Friday','5/24/2024','8:00 PM','6134107','Uncle-Vanya-5-24-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Saturday','5/25/2024','2:00 PM','6134120','Uncle-Vanya-5-25-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Saturday','5/25/2024','8:00 PM','6134108','Uncle-Vanya-5-25-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Sunday','5/26/2024','3:00 PM','6134114','Uncle-Vanya-5-26-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Tuesday','5/28/2024','7:00 PM','6134130','Uncle-Vanya-5-28-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Wednesday','5/29/2024','2:00 PM','6134122','Uncle-Vanya-5-29-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Wednesday','5/29/2024','8:00 PM','6134109','Uncle-Vanya-5-29-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Thursday','5/30/2024','7:00 PM','6134129','Uncle-Vanya-5-30-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Friday','5/31/2024','8:00 PM','6134110','Uncle-Vanya-5-31-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Saturday','6/1/2024','2:00 PM','6134132','Uncle-Vanya-6-1-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Saturday','6/1/2024','8:00 PM','6134133','Uncle-Vanya-6-1-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Sunday','6/2/2024','3:00 PM','6134134','Uncle-Vanya-6-2-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Tuesday','6/4/2024','7:00 PM','6134135','Uncle-Vanya-6-4-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Wednesday','6/5/2024','2:00 PM','6134136','Uncle-Vanya-6-5-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Wednesday','6/5/2024','8:00 PM','6134137','Uncle-Vanya-6-5-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Thursday','6/6/2024','7:00 PM','6134139','Uncle-Vanya-6-6-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Friday','6/7/2024','8:00 PM','6134140','Uncle-Vanya-6-7-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Saturday','6/8/2024','2:00 PM','6134142','Uncle-Vanya-6-8-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Saturday','6/8/2024','8:00 PM','6134141','Uncle-Vanya-6-8-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Sunday','6/9/2024','3:00 PM','6134143','Uncle-Vanya-6-9-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Tuesday','6/11/2024','7:00 PM','6134145','Uncle-Vanya-6-11-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Wednesday','6/12/2024','2:00 PM','6134151','Uncle-Vanya-6-12-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Wednesday','6/12/2024','8:00 PM','6134152','Uncle-Vanya-6-12-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Thursday','6/13/2024','7:00 PM','6134150','Uncle-Vanya-6-13-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Friday','6/14/2024','8:00 PM','6134153','Uncle-Vanya-6-14-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Saturday','6/15/2024','2:00 PM','6134155','Uncle-Vanya-6-15-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Saturday','6/15/2024','8:00 PM','6134154','Uncle-Vanya-6-15-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Sunday','6/16/2024','2:00 PM','6134156','Uncle-Vanya-6-16-2024']],'Vivian Beaumont Theatre','http://www.ticketnetwork.com/ticket/Vivian-Beaumont-Theatre-events.aspx');